package com.homedo.odin.solution.contract.mng;/**
 * Created by liyi on 2018/5/28.
 */

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author : liyi
 * @program : odin_sol
 * @description : 公共类型数据
 * @create: 2018-05-28 17-01
 **/
@ApiModel(description = "编辑基础数据")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class CommonTypeDataEditReq {

    @ApiModelProperty("id")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty("是否高亮")
    private Integer highlight;

    @ApiModelProperty("操作人")
    @NotNull(message = "操作人不能为空")
    private String operator;

    @ApiModelProperty("操作人UID")
    @NotNull(message = "操作人UID不能为空")
    private Long modifiedBy;

}
